//
//  Moive_Data.h
//  豆瓣zlw
//
//  Created by lanou3g on 16/1/15.
//  Copyright © 2016年 zlw. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MovieDetaModel.h"
#import <sqlite3.h>

@interface Moive_Data : NSObject

+(Moive_Data *)shareMoiveData;

//打开数据库
-(void)openMoiveData;
//关闭数据库
-(void)closeMoiveData;
//添加数据库
-(void)addMoiveData:(MovieDetaModel *)Mv;
//删除数据库
-(void)deleteMoiveData;
//改数据
-(void)updataMoiveData:(MovieDetaModel *)Mv;
//查找数据
-(NSMutableArray *)selectAllMoive;
@property(nonatomic,strong)NSString *filePath;

@end
